package com.vdong.trade.trading.respository;


import com.vdong.trade.trading.entity.mo.PayConfigExampleMO;
import com.vdong.trade.trading.entity.mo.PayConfigMO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PayConfigMapper {

    int countByExample(PayConfigExampleMO example);

    int deleteByExample(PayConfigExampleMO example);

    int deleteByPrimaryKey(Long id);

    int insert(PayConfigMO record);

    int insertSelective(PayConfigMO record);

    List<PayConfigMO> selectByExampleWithBLOBs(PayConfigExampleMO example);

    List<PayConfigMO> selectByExample(PayConfigExampleMO example);

    PayConfigMO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PayConfigMO record, @Param("example") PayConfigExampleMO example);

    int updateByExampleWithBLOBs(@Param("record") PayConfigMO record, @Param("example") PayConfigExampleMO example);

    int updateByExample(@Param("record") PayConfigMO record, @Param("example") PayConfigExampleMO example);

    int updateByPrimaryKeySelective(PayConfigMO record);

    int updateByPrimaryKeyWithBLOBs(PayConfigMO record);

    int updateByPrimaryKey(PayConfigMO record);
}